package com.booking.service;

import java.util.List;

import com.booking.bean.Food;
import com.booking.bean.Foodorder;
import com.booking.bean.Shop;


public interface ShopService {
	    //添加购物项，返回新的购物车  
	    public Foodorder addSorder(Foodorder forder, Food product);  
	    //把商品数据转化为购物项  
	    public Shop productToSorder(Food product);  
	    //更新购物车
	    public Foodorder updateSorder(Shop sorder, Foodorder forder);
	    //删除商品
	    public Foodorder deleteSorder(Shop sorder, Foodorder forder);
	    //删除购物车
	    public Foodorder deleteAll(Shop sorder, Foodorder forder);
	    //查询购物项
	    public List<Shop> queryShop(int id);
	
}
